<template>
  <div>
      <Header @add="addItem" />
      <ListBox />
  </div>
</template>

<script>

import Header from '@/containers/TodoList/components/Header'
import ListBox from '@/containers/TodoList/components/ListBox'
export default {
  components: {
    Header,
    ListBox
  },
  data(){
    return {
      list:[]
    }
  },
  methods:{
    addItem(val){
      this.list.push(val);
    }
  }
}
</script>
<style lang="stylus">
</style>
